﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"
    CodeFile="goodslist.aspx.cs" Inherits="GoodsList" Title="审核商品信息" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript">function Submit1_onclick() {
    </script>

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px; height: 34px;">
                <img src="../images/intro_left.gif" width="4" height="34">
            </td>
            <td class="intro_wordbg" style="height: 34px">
                基本药物商品
            </td>
            <td background="../images/intro_bg.gif" style="height: 34px">
                <img src="../images/intro_right.jpg" width="118" height="34">
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                流水号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtLSH" runat="server" InvertedComma="流水号" NumericOnly="流水号"   CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                品目号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtProductCode" runat="server" InvertedComma="品目号"  NumericOnly="流水号" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                通用名：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtname" runat="server" InvertedComma="通用名" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                剂型：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtmedicinemodel" runat="server" InvertedComma="剂型" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                规 格：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtoutlook" runat="server" InvertedComma="规 格" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                商品名：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGoodsName" runat="server" InvertedComma="商品名" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                单位：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="TextUnit" runat="server" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                转换系数：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtZhuanhuan" runat="server" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                申报企业名称：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtCompanyName" runat="server" InvertedComma="生产企业" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                申报企业注册号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtCompanyNum" runat="server" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                &nbsp;审核人：</td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstSHR" runat="server">
                </asp:DropDownList>
            </td>
            <td class="td_left_20">
                审核状态：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstCheckStatus" runat="server">
                <asp:ListItem Value="0" Text="未审核" Selected="True"></asp:ListItem>
                 <asp:ListItem Value="1" Text="审核通过"></asp:ListItem>
                  <asp:ListItem Value="2" Text="审核未通过"></asp:ListItem>
                   <asp:ListItem Value="3" Text="纸质一致"></asp:ListItem>
                    <asp:ListItem Value="4" Text="全部"></asp:ListItem>
                </asp:DropDownList>
        </tr>
        <tr>
            <td class="td_left_20">
                是否已递交资料：</td>
            <td class="td_right_30" >
                <asp:DropDownList ID="LIsSendin" runat="server">
                <asp:ListItem  Value="0" Text="未递交"></asp:ListItem>
                <asp:ListItem  Value="1" Text="已递交"></asp:ListItem>
                <asp:ListItem  Value="3" Text="全部" Selected="True"></asp:ListItem>
                </asp:DropDownList>
            </td>
             <td class="td_left_20">
                每页显示：</td>
            <td class="td_right_30" >
                <asp:DropDownList ID="Lpagenum" runat="server">
                <asp:ListItem  Value="10" Text="10" Selected="True"></asp:ListItem>
                <asp:ListItem  Value="50" Text="50"></asp:ListItem>
                <asp:ListItem  Value="100" Text="100" ></asp:ListItem>
                </asp:DropDownList>
            &nbsp;条</td>
        </tr>
        <tr>
            <td class="td_left_20">
                审核不通过原因：
            </td>
            <td class="td_right_30" colspan="3">
                <asp:TextBox ID="txtnopass" runat="server" CssClass="txtbox_200"></asp:TextBox>
                <asp:CheckBox ID="CheckBox1" runat="server" Text="勾选不包含" />
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: right">
                <asp:Button ID="Button5" runat="server" Text="查  询" CssClass="button_80" OnClientClick="javascript:return CheckForm();" />
                <asp:Button ID="ToEcxul" runat="server" CssClass="button_80" OnClick="ToEcxul_Click" Visible="false"
                    Text="导出到Excel" />
            </td>
            <td colspan="2" style="text-align: left">
                <input type="submit" name="btnSubmit" value="删除" class="button_80" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"
                    id="Submit1" style="display:none" />
                <asp:Button ID="Button6" runat="server" CssClass="button_80" 
                    onclick="Button6_Click" OnClientClick="javascript:return CheckForm();" 
                    Text="已递交资料" />
                &nbsp;<asp:Button ID="Button7" runat="server" CssClass="button_80" 
                    onclick="Button7_Click" OnClientClick="javascript:return CheckForm();" 
                    Text="取消已递交" />
            </td>
        </tr>
        <tr>
            <td colspan="4" class="td_center">
                <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False"
                    OnRowDataBound="GridView1_RowDataBound">
                    <Columns>
                        <asp:HyperLinkField HeaderText="流水号" DataNavigateUrlFormatString="GoodsUpdate.aspx?GoodsId={0}"
                            DataTextField="GoodsId" DataNavigateUrlFields="GoodsId" Target="_blank" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="productid" HeaderText="品目号" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="productname" HeaderText="通用名" />
                        <asp:BoundField DataField="medicinemodel" HeaderText="剂型" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="outlookc" HeaderText="规格" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="unit" HeaderText="单位" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="factor" HeaderText="转换系数" ItemStyle-HorizontalAlign="Center" /> 
                        <%--<asp:BoundField DataField="qualitylevals" HeaderText="质量层次" ItemStyle-HorizontalAlign="Center" />--%>
                        <asp:BoundField DataField="companynameTJR" HeaderText="申报企业" />
                        
                        <asp:BoundField DataField="AccountName_TJR" HeaderText="添加人" ItemStyle-HorizontalAlign="Center" />
                        <asp:TemplateField HeaderText="审核状态" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <span title='<%# DataBinder.Eval(Container.DataItem, "NoPass")%> '>
                                    <%# DataBinder.Eval(Container.DataItem, "checkstatus")%>
                                </span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="AccountName_SHR" HeaderText="审核人" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="shenhetime" HeaderText="审核时间" ItemStyle-HorizontalAlign="Center" />
                        <asp:TemplateField HeaderText="审核记录" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <a href='GoodsOperatorLog.aspx?GoodsId=<%#MsgBox.JiaMiobj_Encrypt(DataBinder.Eval(Container.DataItem, "Goodsid"))%>'
                                    target="_blank">查看</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                         <asp:BoundField DataField="IsSendin" HeaderText="是否递交资料" />
                       <asp:TemplateField HeaderText="选择" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <input name="chk" type="checkbox"  value='<%# DataBinder.Eval(Container.DataItem, "goodsid")%>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <%-- <asp:HyperLinkField HeaderText="上传" DataNavigateUrlFormatString="../Bidder/ImgUp.aspx?GoodsId={0}"
                            Text="上传" DataNavigateUrlFields="goodsid" Target="_blank" ItemStyle-HorizontalAlign="Center" />
                       <asp:BoundField DataField="nopass" HeaderText="审核不通过原因" />--%>
                    </Columns>
                </asp:GridView>
                <asp:GridView ID="GridView2" runat="server">
                </asp:GridView>
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
